<template>
   <span>{{pName}}<b class="badge badge-pill badge-primary m-l-xs text-white" v-if='!!pId&&pId!="0"'>{{pId}}</b></span>
</template>
<script>
    export default{
        name:'CLabelName',
        props:{
          pName:{
              type:String,
              default:''
          },
          pId:{
              type:String,
              default:''
          }
        },
        data(){
            return{

            }
        },
        components:{
        }
    }
</script>